package com.shipwe.loans.weight.font

import android.content.Context
import android.graphics.Typeface
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView

/**
 * NormalTextView
 * @Author wwdeng
 * @CreateTime: 2024/11/288 10:45
 * @Annotation：常规
 */
class NormalTextView(context: Context, attrs: AttributeSet?) : AppCompatTextView(context, attrs) {

    override fun setTypeface(tf: Typeface?, style: Int) {
//        super.setTypeface(Typeface.DEFAULT, Typeface.NORMAL)
        super.setTypeface(Typeface.createFromAsset(context.assets,"fonts/gilroy-bold-4.otf"))
    }
}